import 'package:flutter/material.dart';
import 'package:flutter_pickers/style/picker_style.dart';
import 'package:flutter_yn_goods/config/app_color.dart';
import 'package:flutter_yn_goods/config/app_translations.dart';
import 'package:get/get.dart';

class WidgetPickerStyle {
  static PickerStyle createPickerStyle() {
    return PickerStyle(
        cancelButton: Container(
          alignment: Alignment.center,
          padding: const EdgeInsets.only(left: 22, right: 12),
          child: Text(LocaleKeys.cancel.tr,
              style:
                  const TextStyle(color: AppColor.color999999, fontSize: 16.0)),
        ),
        commitButton: Container(
          alignment: Alignment.center,
          padding: const EdgeInsets.only(left: 22, right: 12),
          child: Text(LocaleKeys.confirm.tr,
              style:
                  const TextStyle(color: AppColor.color282828, fontSize: 16.0)),
        ));
  }
}
